﻿using Microsoft.EntityFrameworkCore.Metadata.Internal;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace XinjeMesProgram.Entities.Material
{
    /// <summary>
    /// 物料追踪表（数据子表）
    /// </summary>
    public class MaterialData2model
    {
        /// <summary>
        /// 唯一Id
        /// </summary>
        public string? Id { get; set; }

        /// <summary>
        /// 主表数据与子表数据的关联Id
        /// </summary>
        public string? Id2 { get; set; }

        /// <summary>
        /// 工单号
        /// </summary>
        public string? WorkOrderNumber { get; set; }

        /// <summary>
        /// 序列号
        /// </summary>
        public string? SerialNumber { get; set; }

        /// <summary>
        /// 在库状态
        /// </summary>
        public int? Condition { get; set; }

        /// <summary>
        /// 发货日期(现在改为Mes入库日期)
        /// </summary>
        public string? DeliveryDate { get; set; }

        /// <summary>
        /// 出库日期
        /// </summary>
        public string? OutboundDate { get; set; }

        /// <summary>
        /// 跟踪结束日期
        /// </summary>
        public string? EndDate { get; set; }

        /// <summary>
        /// PCB丝印
        /// </summary>
        public string? ScreenPrinting { get; set; }

        /// <summary>
        /// 0:正常 1：待核对 2：异常
        /// </summary>
        public int? State { get; set; }

        /// <summary>
        /// 是否判断过（0：无 1：判断过）
        /// </summary>
        public int? IsJudge { get; set; }
    }
}
